Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance the availability of scripts in bad network #614

Closed
wants to merge 1 commit into from

Conversation

mffseal
Copy link

@mffseal mffseal commented Sep 19, 2022

In the case of poor network environment “git clone” command may partially fail and leave files. This will make the next retry fail
cause the directory already exists. The solution is to try to delete the corresponding directory before run "git clone".

@akx
Copy link
Contributor

akx commented Feb 3, 2023

A better solution would be to use $(mktemp -d) to clone things into guaranteedly unique paths.

@devttys0 devttys0 closed this Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants